package com.offcn.config;

import com.offcn.filter.JwtCheckGatewayFilterFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @description: TODO
 * @author: LongChen
 * @date: 2022/8/7 17:17
 * @version: 1.0
 */

@Configuration
public class GatewayCorsConfiguration {

    @Bean
    public JwtCheckGatewayFilterFactory jwtCheckGatewayFilterFactory() {
        return new JwtCheckGatewayFilterFactory();
    }
}
